import React, { PropTypes } from 'react';

const propTypes = {
  id: PropTypes.number,
  text: PropTypes.string,
};

const defaultProps = {
  text: 'Hello World',
};

class Empty extends React.Component {
  constructor(props) {
    super(props);
    // return false;
  }
  static methodsAreOk() {
    return true;
  }
  componentWillMount() {
    console.log('componentWillMount');
    return false;
  }
  componentDidMount() {
    console.log('componentDidMount');
    return false;
  }
  componentWillReceiveProps() {
    console.log('componentWillReceiveProps');
    return false;
  }
  shouldComponentUpdate() {
    return false;
  }
  componentWillUpdate() {
    console.log('componentWillUpdate');
    return false;
  }
  componentDidUpdate() {
    console.log('componentDidUpdate');
    // return false;
  }
  componentWillUnmount() {
    console.log('componentWillUnmount');
    // return false;
  }
  clickHandlers() {
    console.log('clicked');
    // return false;
  }
  render() {
    return (<div style={{display:'none'}}></div>);
  }
}

Empty.propTypes = propTypes;
Empty.defaultProps = defaultProps;

export default Empty;